#ifndef BLOGPREVIEW_H
#define BLOGPREVIEW_H

#include <QPixmap>
#include <QString>

class BlogPreview
{
public:
    BlogPreview(const QString &title,
                const QString &summary,
                const QString &author,
                const QString &time,
                const int &readCount,
                const int &likeCount,
                const int &commentCount,
                const int &favoriteCount,
                const QPixmap &cover);
    QString title;
    QString summary;
    QString author;
    QString time;
    int readCount;
    int likeCount;
    int commentCount;
    int favoriteCount;
    QPixmap cover;
};

#endif // BLOGPREVIEW_H
